home *** CD-ROM | disk | FTP | other *** search
- Path: chronicle.mti.sgi.com!austern
- From: willer@carolian.com (Steve Willer)
- Newsgroups: comp.std.c++
- Subject: Just auto_ptr?
- Date: 06 Mar 1996 09:44:28 PST
- Organization: Carolian Systems, Toronto ON
- Approved: austern@isolde.mti.sgi.com
- Message-ID: <m0tuMY6-000Cb1C@sqarc.sq.com>
- NNTP-Posting-Host: isolde.mti.sgi.com
- X-Original-Date: Wed, 6 Mar 96 11:58 EST
- X-Newsreader: Forte Agent .99d/32.182
- X-Auth: PGPMoose V1.1 PGP comp.std.c++
- iQBVAwUBMT3PDUy4NqrwXLNJAQHXfQH/dSEURrKnuA0eqbGbe512s6D6w3Q4MMEC
- RqdAg2eDo/pj94du0EKCBkwqmaCHTH+A93TccpLdQha1GF0a69arhA==
- =fPS1
- Originator: austern@isolde.mti.sgi.com
-
- I was hoping someone could tell me why more standard "smart pointers" weren't
- defined. Why not a reference-counting ptr (perhaps ref_ptr) and an auto_ptr
- with operator== and operator<, for STL usage (perhaps oper_ptr)? These are the
- kinds of pointers that would be fairly common, so why not standardize them and
- cut down on confusion?
- ---
- [ comp.std.c++ is moderated. To submit articles: Try just posting with your
- newsreader. If that fails, use mailto:std-c++@ncar.ucar.edu
- comp.std.c++ FAQ: http://reality.sgi.com/austern/std-c++/faq.html
- Moderation policy: http://reality.sgi.com/austern/std-c++/policy.html
- Comments? mailto:std-c++-request@ncar.ucar.edu
- ]
-